<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8" />
        <title>2_Vue中的数据代理</title>
        <script type="text/javascript" src="../js/vue.js"></script>
    </head>
    <body>
        <div id="demo">
            <h1>一言: {{name}}</h1>
        </div>
    </body>

    <script type="text/javascript">
        Vue.config.productionTip = false;

        const vm = new Vue({
			el:'#demo',
			data:{
				name:'一起去看星星吧。'
			}
		})
		console.log(vm)
        
    </script>
</html>